<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <script>
    var xmlhttp;
	if (window.XMLHttpRequest)
	{
		//  IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
		xmlhttp=new XMLHttpRequest();
	}
	else
	{
		// IE6, IE5 浏览器执行代码
		xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
	}
	function inUntreated()
    {
    	xmlhttp.onreadystatechange=function()
    	{
    		if (xmlhttp.readyState==4 && xmlhttp.status==200)
    		{
    			document.getElementById("workspace").innerHTML=xmlhttp.responseText;
    		}
    	}
    	xmlhttp.open("GET","temp.jsp?work=inUntreated",true);
    	xmlhttp.send();
    }
	
	function done()
    {
    	xmlhttp.onreadystatechange=function()
    	{
    		if (xmlhttp.readyState==4 && xmlhttp.status==200)
    		{
    			document.getElementById("workspace").innerHTML=xmlhttp.responseText;
    		}
    	}
    	xmlhttp.open("GET","temp.jsp?work=done",true);
    	xmlhttp.send();
    }
	function outUntreated()
    {
    	xmlhttp.onreadystatechange=function()
    	{
    		if (xmlhttp.readyState==4 && xmlhttp.status==200)
    		{
    			document.getElementById("workspace").innerHTML=xmlhttp.responseText;
    		}
    	}
    	xmlhttp.open("GET","temp.jsp?work=outUntreated",true);
    	xmlhttp.send();
    }
    function outDoneChange()
    {
    	xmlhttp.onreadystatechange=function()
    	{
    		if (xmlhttp.readyState==4 && xmlhttp.status==200)
    		{
    			document.getElementById("workspace").innerHTML=xmlhttp.responseText;
    		}
    	}
    	xmlhttp.open("GET","temp.jsp?work=outDoneChange",true);
    	xmlhttp.send();
    }
    
    function inLoading()
    {
    	xmlhttp.onreadystatechange=function()
    	{
    		if (xmlhttp.readyState==4 && xmlhttp.status==200)
    		{
    			document.getElementById("workspace").innerHTML=xmlhttp.responseText;
    		}
    	}
    	xmlhttp.open("GET","temp.jsp?work=inLoading",true);
    	xmlhttp.send();
    }
    function inNO()
    {
    	xmlhttp.onreadystatechange=function()
    	{
    		if (xmlhttp.readyState==4 && xmlhttp.status==200)
    		{
    			document.getElementById("workspace").innerHTML=xmlhttp.responseText;
    		}
    	}
    	xmlhttp.open("GET","temp.jsp?work=inNO",true);
    	xmlhttp.send();
    }
    function addChange()
    {
    	xmlhttp.onreadystatechange=function()
    	{
    		if (xmlhttp.readyState==4 && xmlhttp.status==200)
    		{
    			document.getElementById("workspace").innerHTML=xmlhttp.responseText;
    		}
    	}
    	xmlhttp.open("GET","addChange.jsp",true);
    	xmlhttp.send();
    }
    function changOK()
    {
    	xmlhttp.onreadystatechange=function()
    	{
    		if (xmlhttp.readyState==4 && xmlhttp.status==200)
    		{
    			document.getElementById("workspace").innerHTML=xmlhttp.responseText;
    		}
    	}
    	xmlhttp.open("GET","temp.jsp?work=changeOK",true);
    	xmlhttp.send();
    }
    function queryMyAll()
    {
    	xmlhttp.onreadystatechange=function()
    	{
    		if (xmlhttp.readyState==4 && xmlhttp.status==200)
    		{
    			document.getElementById("workspace").innerHTML=xmlhttp.responseText;
    		}
    	}
    	xmlhttp.open("GET","temp.jsp?work=queryMyAll",true);
    	xmlhttp.send();
    }
    function changeLoading()
    {
    	xmlhttp.onreadystatechange=function()
    	{
    		if (xmlhttp.readyState==4 && xmlhttp.status==200)
    		{
    			document.getElementById("workspace").innerHTML=xmlhttp.responseText;
    		}
    	}
    	xmlhttp.open("GET","temp.jsp?work=changeLoading",true);
    	xmlhttp.send();
    }
    function js_method()
    {
    	xmlhttp.onreadystatechange=function()
    	{
    		if (xmlhttp.readyState==4 && xmlhttp.status==200)
    		{
    			document.getElementById("workspace").innerHTML=xmlhttp.responseText;
    		}
    	}
    	xmlhttp.open("GET","temp.jsp?work=inUntreated",true);
    	xmlhttp.send();
    }
    function modifyPwd()
    {
    	xmlhttp.onreadystatechange=function()
    	{
    		if (xmlhttp.readyState==4 && xmlhttp.status==200)
    		{
    			document.getElementById("workspace").innerHTML=xmlhttp.responseText;
    		}
    	}
    	xmlhttp.open("GET","../admin/modifyPwd.jsp",true);
    	xmlhttp.send();
    }
    function add_method()
    {
    	xmlhttp.onreadystatechange=function()
    	{
    		if (xmlhttp.readyState==4 && xmlhttp.status==200)
    		{
    			document.getElementById("workspace").innerHTML=xmlhttp.responseText;
    		}
    	}
    	xmlhttp.open("GET","add.jsp",true);
    	xmlhttp.send();
    }
    $(function () { $('.tooltip-show').tooltip();});
    $(function () { $('.tooltip-show-no').tooltip();});
</script>
	
	<meta charset="utf-8"> 
	<title>审核人员首页</title>
	<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">
	<script src="https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script>
	<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

</head>
<body>
<br>
 <!-- top开始 -->
    <%@include file="../admin/top.jsp" %>
 <!-- top结束 -->
 <div class="row">
 <!-- nav开始 -->
	<%@include file="leaderNav.jsp" %>
 <!-- nav结束 -->
 <!-- workspace开始 -->
 	<c:if test="${param.a == '3'  }"><%@include file="../admin/state.jsp" %></c:if>
  	<c:if test="${param.a != '3'  }"><%@include file="workspace.jsp" %></c:if>
 <!-- workspace结束 -->
  </div>
</body>
</html>